﻿

using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using Newtonsoft.Json;
using HiSportApplet.Core.Entity.Member;

namespace HiSportApplet.Core.Entity.Member
{

    /// <summary>
    /// 会员绑定表
    /// </summary>
    [SugarTable(null, "系统会员与会员绑定表")]
    public class BasMemberBind : EntityBase
    {
        /// <summary>
        /// 租户Id
        /// </summary>
        [SugarColumn(ColumnDescription = "租户Id")]
        [Required]
        [DefaultValue(0)]
        public long TenantId { get; set; }

        /// <summary>
        /// 系统会员ID
        /// </summary>
        [SugarColumn(ColumnDescription ="系统会员ID")]
        [Required]
        [DefaultValue(0)]
        public long SysMemberId { get; set; }

        /// <summary>
        /// 会员ID
        /// </summary>
        [SugarColumn(ColumnDescription = "会员ID")]
        [Required]
        [DefaultValue(0)]
        public long  MemberId { get; set; }

    }
}